package com.whfp.coky.db.dao;

import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.raizlabs.android.dbflow.structure.BaseModel;
import com.whfp.coky.db.dbflow.AppDatabase;

/**
 * 项目设置表
 */
@Table(database = AppDatabase.class)
public class ProjectSettingDao extends BaseModel {
    //自增主键
    @PrimaryKey(autoincrement = true)
    private int id;
    //项目名称
    @Column
    private String projectName;
    //浓度值单位
    @Column
    private String densityUnit;
    //阈值设置信息（实体类数组转化的JSON字符串）
    @Column
    private String thresholdInfo;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getThresholdInfo() {
        return thresholdInfo;
    }

    public void setThresholdInfo(String thresholdInfo) {
        this.thresholdInfo = thresholdInfo;
    }

    public String getDensityUnit() {
        return densityUnit;
    }

    public void setDensityUnit(String densityUnit) {
        this.densityUnit = densityUnit;
    }
}
